﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;

namespace ALS.Poco
{
    /// <summary>
    /// ALS订单表映射
    /// </summary>
    [Table("AlsOrder")]
    public class AlsOrderPoco
    {
        /// <summary>
        /// 自增主键
        /// </summary>
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public long AlsOrderID { get; set; }

        /// <summary>
        /// ErpID
        /// </summary>
        [Required]
        [StringLength(64)]
        public string ErpID { get; set; }

        /// <summary>
        /// 交易订单ID
        /// </summary>
        [Required]
        public long TradeID { get; set; }
    }
}
